package cao.oschina;


import android.content.Intent;
import android.os.Handler;

import cao.oschina.activity.ToolBarActivity;
import cao.oschina.ui.Main;

public class AppStart extends ToolBarActivity {


    /**
     * 初始化界面
     */
    @Override
    protected void initView() {
        setBody(R.layout.app_start);
        hindToolBar();
    }

    /**
     * 初始化数据
     */
    @Override
    protected void initData() {
        new Handler().postDelayed(new Runnable() {
            @Override
            public void run() {
                //进入主页
                startActivity(new Intent(getBaseContext(), Main.class));
                finishActivity();
            }
        }, 3000);
    }

}
